package com.yyx.zookeeperlock.pojo;

import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "z_items")
public class ZItems {
    @Id
    private Integer id;

    private String name;

    private Integer counts;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return counts
     */
    public Integer getCounts() {
        return counts;
    }

    /**
     * @param counts
     */
    public void setCounts(Integer counts) {
        this.counts = counts;
    }
}